package com.xiaohao.news.entity;

import lombok.Data;
import java.io.Serializable;
/**
 * 用户信息
 */
@Data
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    //id
    private Long id;

    //用户名
    private String username;

    //密码
    private String password;

    //身份
    private String role;

    //性别  1男 2女
    private String sex;

    //个性签名
    private String signature;

    //真实姓名
    private String realName;

    //身份证号
    private String idNumber;

    //头像
    private String avatar;

}
